#ifndef __SOCKETLISTENERTASK_H_
#define __SOCKETLISTENERTASK_H_
#include "KLib.h"
#include "Task.h"
SK
class Socket;
class HTTPHandler;
class JarvCore;
class SocketListenerTask : public Task
{
protected:
	u16 lPort;
	Socket *soc;
	bool running;

	JarvCore *core;
public:
	SocketListenerTask (JarvCore* core,u16 localPort);
	virtual ~SocketListenerTask ();

	virtual void run (void);
};

EK
#endif